# frv testcase for fdabss $FRj,$FRk
# mach: frv

	.include "testutils.inc"

	float_constants
	start
	load_float_constants

	.global fdabss
fdabss:
	set_fr_fr	fr8,fr1
	fdabss		fr0,fr2
	test_fr_fr	fr2,fr52
	test_fr_fr	fr3,fr28
	set_fr_fr	fr24,fr13
	fdabss		fr12,fr2
	test_fr_fr	fr2,fr24
	test_fr_fr	fr3,fr24
	set_fr_fr	fr52,fr29
	fdabss		fr28,fr2
	test_fr_fr	fr2,fr28
	test_fr_fr	fr3,fr52

	pass
